package com.zhao.concretecomponent;

import com.zhao.component.FastFood;

public class FiredRice extends FastFood {

    public FiredRice(String desc, float price) {
        super(desc, price);
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
